package com.example.administrator.laishenggen;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ListView;

/**
 * Created by Administrator on 2020/12/31.
 */

public class WorldCup extends AppCompatActivity{

    private ListView listView1;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.worldcup);
        initView();
        initData();
        initEvent();
    }
private void initView(){
    listView1 = (ListView) findViewById(R.id.listview1);

}private void initData(){

}private void initEvent(){

        listView1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent =new Intent(WorldCup.this,XiangQing.class);
                startActivity(intent);
            }
        });
}

}
